package com.cykj.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @BelongsProject: jd-project
 * @BelongsPackage: com.cykj.controller
 * @Author: 小林
 * @CreateTime: 2025-02-26 21:19
 * @Description: TODO
 * @Version: 1.0
 */
@RestController
@RequestMapping("order")
public class OrderController {

    @Value("${server.port}")
    private String port;

    @RequestMapping("resTemplateTest")
    public String resTemplateTest(){
        System.out.println("订单微服务执行了" +port);
        return "order run.........";
    }
}

